<template>
	<view class="rules flex-no-horizontal f-s">
		<view class="rules-left">今日审贴：{{number}}条</view>
		<view class="rules-right flex-no-horizontal" @click="toOuterChain">
			<u-icon name="error-circle" size="13" class="m-r-5" color="#000000"></u-icon>
			审核规则
		</view>
	</view>
</template>

<script>
	export default{
		props: {
			number: {
				type: [Number, String],
				default () {
					return 0
				}
			}
		},
		methods:{
			toOuterChain(){
				uni.navigateTo({
					url:'/pages/index/outerChain?url=http://api.relaverse.cn/index/Html/individually?id=11&title=审核规则'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.rules{
		justify-content: space-between;
		padding: 30rpx 40rpx;
		background-color: RGBA(247, 247, 247, 1);
		.rules-left{
			opacity: 0.5;
		}
	}
</style>
